Total Complexity | 36 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 238 |
Lines of code | 151 |
Logical lines of code | 89 |
Comment lines | 25 |
Methods | 10 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
insertRemovedFreeCartItemStubInCart() | 49 | 7 | 32 | |
insertRemovedFreeMiniCartItemStubInCart() | 49 | 7 | 32 | |
handleFreeCartItemUpdate() | 52 | 6 | 23 | |
handleFreeCartItemRemove() | 56 | 5 | 17 | |
handleRestoreDeletedItems() | 56 | 4 | 19 | |
withCart() | 74 | 2 | 5 | |
onCreateOrder() | 67 | 2 | 8 | |
__construct() | 76 | 1 | 4 | |
withContext() | 81 | 1 | 3 | |
installHooks() | 65 | 1 | 8 |